import cv2

image = cv2.imread('./img/flowers.jpg')

height, width, channel = image.shape

print(f'图像的宽：{width}，高：{height}，通道数：{channel}')
print(f'图像的像素总和：{image.size}')
print(f'图像的数据类型：{image.dtype}')